package com.csii.branch.mapper;

import java.util.Date;
import java.util.List;

import cn.hutool.core.date.DateTime;
import com.csii.branch.controller.vo.BranchLoanStatVo;
import com.csii.branch.controller.vo.BranchUserStatVo;
import org.apache.ibatis.annotations.Param;
import com.csii.branch.mapper.entity.CdBranchStatLoan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 网点贷款统计
 * @Author: power-stdio
 * @Date:   2020-12-21
 * @Version: V1.0
 */
public interface CdBranchStatLoanMapper extends BaseMapper<CdBranchStatLoan> {
    List<BranchLoanStatVo> statGroupByDaily(String netId, Date from , Date end);
    List<BranchLoanStatVo> statGroupByType(String netId, Date from , Date end);

    List<BranchLoanStatVo> statGroupByPidDaily(String pid, DateTime from, DateTime end);
}
